package library.server;

import java.net.ServerSocket;
import java.net.Socket;

public class Server {

    public void run() throws Exception {
        ServerSocket ss = new ServerSocket(Integer.parseInt(Config.getInstance().getValue("server.port")));
        while (true) {
            Socket s = ss.accept();
            new ClientSocketThread(s).start();
        }
    }
}
